<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post" action="/update" th:object="${product}">
    <table>
        <tbody>
        <tr>
            <td>商品ID:</td>
            <td><input type="text" name="productId" th:field="*{productId}"/></td>
        </tr>
        <tr>
            <td>种类:</td>
            <td><input type="text" name="productType" th:field="*{productType}"/></td>
        </tr>
        <tr>
            <td>名称:</td>
            <td><input type="text" name="productName" th:field="*{productName}"/></td>
        </tr>
        <tr>
            <td>价格:</td>
            <td><input type="text" name="productPrice" th:field="*{productPrice}"/></td>
        </tr>
        <tr>
            <td>数量:</td>
            <td><input type="text" name="productNum" th:field="*{productNum}"/></td>
        </tr>
        <tr>
            <td>产地:</td>
            <td><input type="text" name="productCity" th:field="*{productCity}"/></td>
        </tr>
        <tr>
            <td>图片地址:</td>
            <td><input type="text" name="productPics" th:field="*{productPics}"/></td>
        </tr>
        <tr>
            <td>图片数量:</td>
            <td><input type="text" name="productPicnum" th:field="*{productPicnum}"/></td>
        </tr>
        <tr>
            <td>描述:</td>
            <td><input type="text" name="productDescription" th:field="*{productDescription}"/></td>
        </tr>
        <!--<tr>-->
            <!--<td>创建时间:</td>-->
            <!--<td><input type="text" name="productCreatetime" readonly="readonly" th:field="*{productCreatetime}"/></td>-->
        <!--</tr>-->
        <tr>
            <td>折扣:</td>
            <td><input type="text" name="productDiscount" th:field="*{productDiscount}"/></td>
        </tr>
        <tr>
            <td>商铺Id:</td>
            <td><input type="text" name="storeId" th:field="*{storeId}"/></td>
        </tr>
        <tr>
            <td>购买等级:</td>
            <td><input type="text" name="productClass" th:field="*{productClass}"/></td>
        </tr>
        <tr>
            <td>
                <input type="submit" value="提交">
            </td>
        </tr>
        </tbody>
    </table>
</form>
</body>

</html>